﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FortuneHeavenCommon.DataMap;

namespace FortuneHeavan.Game.DAL
{
    public class GameTreasureStatisticDAL : TreasureDBBase
    {
        public GameTreasureStatistic GetUserStatistic()
        {
            List<GameTreasureStatistic> list = Query<GameTreasureStatistic>("Exec dbo.GetTreasureStatistic");
            if (list != null && list.Count > 0)
            {
                return list[0];
            }
            return null;
        }
    }
}
